<template>
  <img
    class="list-img"
    :src="imgSrc"
    alt="图表图片"
  >
</template>

<script>
import { fetchImages } from '@/utils'
export default {
  props:{
    item:{
      type:Object,
      require:true,
      default:()=>{}
    }
  },
  data(){
    return{
      imgSrc:''
    }
  },
  async mounted(){
    this.imgSrc=await fetchImages(this.item)
  }
}
</script>

<style>

</style>